// Copyright 2011 Google Inc. All Rights Reserved.

/**
 * @fileoverview This is the english translation for netscore.
 * @author gavaletz@google.com (Eric Gavaletz)
 */


goog.provide('ns.i18n.en');


/**
 * String mappings.
 *
 * @type {Object.<string, string>}
 */
ns.i18n.en.data = {};


/**
 * Performs a lookup.
 *
 * Here to allow future error checking and such.
 *
 * @param {string} id the key of the string to get.
 * @return {string} the translated string.
 */
ns.i18n.en.get = function(id) {
  return ns.i18n.en.data[id];
};
goog.exportProperty(window, 'nsi18n', ns.i18n.en.get);

//ns.i18n.en.data[''] = '';
//ns.i18n.en.data[''] = '';

//Table column headings
ns.i18n.en.data['Field'] = 'Field';
ns.i18n.en.data['Value'] = 'Value';
ns.i18n.en.data['Ping Count'] = 'Ping Count';
ns.i18n.en.data['RTT (ms)'] = 'RTT (ms)';
ns.i18n.en.data['Server'] = 'Server';
ns.i18n.en.data['Resource'] = 'Resource';
ns.i18n.en.data['Median RTT (ms)'] = 'Median RTT (ms)';
ns.i18n.en.data['Minimum RTT (ms)'] = 'Minimum RTT (ms)';
ns.i18n.en.data['Object Count'] = 'Object Count';
ns.i18n.en.data['Goodput (Mbps)'] = 'Goodput (Mbps)';
ns.i18n.en.data['Response Time (ms)'] = 'Response Time (ms)';
ns.i18n.en.data['Response Times'] = 'Response Times';
ns.i18n.en.data['Median Response Time (ms)'] = 'Median Response Time (ms)';
ns.i18n.en.data['Median Transfer Time (ms)'] = 'Median Transfer Time (ms)';
ns.i18n.en.data['Minimum Transfer Time (ms)'] = 'Minimum Transfer Time (ms)';
ns.i18n.en.data['Median Goodput (Mbps)'] = 'Median Goodput (Mbps)';
ns.i18n.en.data['Maximum Goodput (Mbps)'] = 'Maximum Goodput (Mbps)';
ns.i18n.en.data['Unstarted'] = 'Unstarted';
ns.i18n.en.data['Cued'] = 'Cued';
ns.i18n.en.data['Buffering'] = 'Buffering';
ns.i18n.en.data['Playing'] = 'Playing';
ns.i18n.en.data['Paused'] = 'Paused';
ns.i18n.en.data['Ended'] = 'Ended';
ns.i18n.en.data['Player State'] = 'Player State';
ns.i18n.en.data['Time (ms)'] = 'Time (ms)';
ns.i18n.en.data['Player Version'] = 'Player Version';
ns.i18n.en.data['Video ID'] = 'Video ID';
ns.i18n.en.data['Total Time (sec)'] = 'Total Time (sec)';
ns.i18n.en.data['Video Size (nominal)'] = 'Video Size (nominal)';
ns.i18n.en.data['Join Time (sec)'] = 'Join Time (sec)';
ns.i18n.en.data['Buffering Ratio'] = 'Buffering Ratio';
ns.i18n.en.data['Buffering Rate (events/sec)'] = 'Buffering Rate (events/sec)';
ns.i18n.en.data['Buffering Count (events)'] = 'Buffering Count (events)';

//form.js
ns.i18n.en.data['formConnection'] = 'Connection type...';
ns.i18n.en.data['formLocation'] = 'Location type...';
ns.i18n.en.data['formSettingsTitle'] = 'Optional Settings';
ns.i18n.en.data['formReqField'] = ' indicates a required field'; //needs leading space
ns.i18n.en.data['formInfoTitle'] = 'Making network measurement more accessable';
ns.i18n.en.data['formInfo1'] = 'There is a huge gap in the way we describe network performance ' +
    'and the way most people understand it.  For most people their ' +
    'Internet connection is either fast, slow or broken.  Talking about ' +
    'broadband speed is not as simple as discussing the speed of a car, ' +
    'and we are not going to use flashy guages and animations that mislead ' +
    'people into thinking that it is.  What you will find is a tool that ' +
    'provides measurement data that represents the performance you see ' +
    'when using the web and not the maximum possible value that your ' +
    'Internet provider wants you to see.  As more people use this site we ' +
    'will be better able to show you how your Internet connection compares ' +
    'to the results from your city, region, country, and people all over ' +
    'the world.';
ns.i18n.en.data['formInfo2'] = 'To get started we ask that you provide a couple ' +
    'pieces of information that will allow us to find the best possible ' +
    'results for comparison.  Then click OK and the tests will start.  ' +
    'Once the tests are complete we will display a page with all the data ' +
    'that was gathered including a link so that you can come back and ' +
    'review the results later.  If you don\'t like keeping up with links ' +
    'you can always login with your Google account and our system will ' +
    'keep track of the results for you.  Logging in also helps us keep ' +
    'your results private.  ';
ns.i18n.en.data['formInfo3'] = 'Since this project is just getting started it is possible ' +
    'that we may not have enough data from your area for a good sample ' +
    'yet.  You can help us with that problem by telling others about this ' +
    'service!  Until then we will still give you all the results and as ' +
    'much help making since of those numbers as we can.  In the long run ' +
    'our goal is not to provide you with a large amount of data, but a ' +
    'simple easy to understand score.  ';
ns.i18n.en.data['formInfo4'] = 'Thank you for your interest in the project, and while we are a ' +
    'small team, we will try to make good use of your feedback.  For even ' +
    'more details on the project and some of the theory behind this work ' +
    'please visit ';
ns.i18n.en.data['formOtherDescrip'] = 'This is the information that you gave us.  ';
ns.i18n.en.data['formLinkDescrip'] = 'These results can always be viewed ' +
    'later (we try to keep them up for at least 30 days) with the following ' +
    'link.  ';
ns.i18n.en.data['formResultLink'] = 'Archived test results';

//latency.js
ns.i18n.en.data['lateProgress'] = 'measuring...';
ns.i18n.en.data['lateDescrip1'] = 'To measure the round trip time we download a very ' +
      'small file from a remote server many times back to back.  ' +
      'Since we can take advantage of persistant connections ' +
      'after (at most) a few requests what we see is that the ' +
      'response time closely approximates the round trip time (RTT).  ' +
      'Here is a plot of RTTs from the browser to the server.';
ns.i18n.en.data['lateDescrip2'] = 'Other data that is collected during this experiment.';

//page.js
ns.i18n.en.data['pageEggButton'] = 'net-score details';
ns.i18n.en.data['pageEggLate'] = 'Latency = ';
ns.i18n.en.data['pageEggThr'] = 'Throughput = ';
ns.i18n.en.data['pageHeadHome'] = 'home';
ns.i18n.en.data['pageHeadLogout'] = 'logout '; //keep space
ns.i18n.en.data['pageHeadResults'] = 'results';
ns.i18n.en.data['pageHeadDeveloper'] = 'developer';
ns.i18n.en.data['pageHeadLogin'] = 'Google login';
ns.i18n.en.data['pageSubHead'] = '';
ns.i18n.en.data['pageSubHeadBlog'] = 'blog';
ns.i18n.en.data['pageSubHeadPrivacy'] = 'privacy';
ns.i18n.en.data['pageSubHeadDoc'] = 'documentation';
ns.i18n.en.data['pageSubHeadFeedback'] = 'feedback';
ns.i18n.en.data['pageSubHeadContact'] = 'contact';
ns.i18n.en.data['pageGoButton'] = 'Get Started';
ns.i18n.en.data['pageInfoButton'] = 'More Info';
ns.i18n.en.data['pageTestName'] = 'Waiting';
ns.i18n.en.data['pageTestMessage'] = 'For something to do...';

//throughput.js
ns.i18n.en.data['thrProgress'] = 'measuring...';
ns.i18n.en.data['thrDescrip1'] = 'To measure throughput we download a large image ' +
      'file from a remote server many times back to back.  ' +
      'Since we can take advantage of persistant connections ' +
      'after (at most) a few requests what we see is that the ' +
      'response time closely approximates the round trip time ' +
      '(RTT) plus the transmission time.  The file size divided ' +
      'by the transmission time approximates the goodput for that request.  ' +
      'Here is a plot of throughput from the browser to the server.';
ns.i18n.en.data['thrDescrip2'] = 'A look at the response times from the browser to the ' +
      'server that were used to approximate the goodput.';
ns.i18n.en.data['thrDescrip3'] = 'Other data items that was collected during this ' +
      'experiment.';

//track.js
ns.i18n.en.data['trackDescrip'] = 'This is the information that you gave us.  ';

//youtube.js
ns.i18n.en.data['ytPlayerError'] = 'Player ERROR '; //keep space
ns.i18n.en.data['ytErrLoad'] = 'player failed to load';
ns.i18n.en.data['ytTestMessageMeas'] = 'measuring...';
ns.i18n.en.data['ytTestMessageLoad'] = 'loading...';
ns.i18n.en.data['ytErrDescrip'] = 'There are some issues on both Android and iOS devices ' +
        'that we are looking into.  Visit http://html5test.com and ask for ' +
        'better HTML5 support from your vendor.';
ns.i18n.en.data['ytStateDescrip'] = 'This tells us how much time the video player is ' +
      'spending in each state.';
ns.i18n.en.data['ytOtherDescrip'] = 'Other data items that were collected during this ' +
      'experiment.';
ns.i18n.en.data['ytChartTitle'] = 'YouTube Player State';
ns.i18n.en.data['ytSoundButton'] = 'Toggle Sound';

//developer,js
ns.i18n.en.data['devDefaultCode'] = 'Please select ONE site from the list above.';
ns.i18n.en.data['devEmptyCode'] = 'Please add a site to get started';
ns.i18n.en.data['devNewSiteButton'] = 'add new site';
ns.i18n.en.data['devNewSiteTip'] = 'add a new site';
ns.i18n.en.data['devSiteURL'] = 'site url';
ns.i18n.en.data['devDeleteButton'] = 'delete';
ns.i18n.en.data['devDeleteTip'] = 'delete a host';
ns.i18n.en.data['devDataButton'] = 'data';
ns.i18n.en.data['devDataTip'] = 'view data for a host';
ns.i18n.en.data['devVisTrack'] = 'Use visible tracking';
ns.i18n.en.data['devCode'] = 'This code snippit should be placed near the footer of your webpage';
ns.i18n.en.data['devURL'] = 'This can be used to add a gadget to almost any Google application\n' +
          'like blogger, Google Sites, or even a document.';
ns.i18n.en.data['devDocInfo'] = 'For more information on how to deploy this into your site we' +
      ' have some documentation at ';
ns.i18n.en.data['devAlertURL1'] = 'please use a full URL like http://info.net-score.com/developer';
ns.i18n.en.data['devAlertURL2'] = 'user info, ports, and query strings will be ignored';
ns.i18n.en.data['devConfirmDel1'] = 'Are you sure you want to delete ';
ns.i18n.en.data['devConfirmDel2'] = '?\nThis cannot be undone!';
